package com.xinjie.coursesystem.pojo;

import java.util.Date;

/**
 * @Description: 课程 （编号、课程名称、开课时间、任课教师）
 * @author: xinjie.txt
 * @date: 2020/7/22  9:08
 */

public class Course {
	/**
	 * courseId -- 编号
	 * courseName -- 课程名称
	 * courseStrDate -- 开课时间
	 * teacher -- 任课教师
	 */
	private String courseId;
	private String courseName;
	private Date courseStrDate;
	private Teacher teacher;

	public String getCourseId() {
		return courseId;
	}

	public void setCourseId(String courseId) {
		this.courseId = courseId;
	}

	public String getCourseName() {
		return courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	public Date getCourseStrDate() {
		return courseStrDate;
	}

	public void setCourseStrDate(Date courseStrDate) {
		this.courseStrDate = courseStrDate;
	}

	public Teacher getTeacher() {
		return teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

	public Course() {
	}

	public Course(String courseId, String courseName, Date courseStrDate, Teacher teacher) {
		this.courseId = courseId;
		this.courseName = courseName;
		this.courseStrDate = courseStrDate;
		this.teacher = teacher;
	}

	@Override
	public String toString() {
		return "Course{" +
				"courseId='" + courseId + '\'' +
				", courseName='" + courseName + '\'' +
				", courseStrDate=" + courseStrDate +
				", teacher=" + teacher +
				'}';
	}
}
